package com.example.tse.rbhttpservice.service.shopping.model;

/**
* 在结算界面，选择收货地址、配送方式、支付方式、优惠券都需要重新计算价格
* @author wliu
*  edit   tse
*/
public abstract class ShoppingGetPriceRequest {


public  ShoppingGetPriceRequest() {
addressId=giveAddressId();
deliveryId=giveDeliveryId();
paymentId=givePaymentId();
couponId=giveCouponId();
isFastBuy=giveIsFastBuy();
orderId=giveOrderId();
}


//收货地址ID
private String addressId = "";

//配送方式ID
private String deliveryId = "";

//支付方式ID
private String paymentId = "";

//优惠券ID
private String couponId = "";

//是否快速购买，0否1是，团购商品和秒杀商品都是1，默认0
private String isFastBuy = "";

//订单编号
private String orderId = "";

/**
* 收货地址ID
* @return addressId
*/
public String getAddressId() {
return this.addressId;
}

/**
* 收货地址ID
* @return addressId
*/
public void setAddressId(String addressId) {
this.addressId = addressId;
}


public abstract String giveAddressId();

/**
* 配送方式ID
* @return deliveryId
*/
public String getDeliveryId() {
return this.deliveryId;
}

/**
* 配送方式ID
* @return deliveryId
*/
public void setDeliveryId(String deliveryId) {
this.deliveryId = deliveryId;
}


public abstract String giveDeliveryId();

/**
* 支付方式ID
* @return paymentId
*/
public String getPaymentId() {
return this.paymentId;
}

/**
* 支付方式ID
* @return paymentId
*/
public void setPaymentId(String paymentId) {
this.paymentId = paymentId;
}


public abstract String givePaymentId();

/**
* 优惠券ID
* @return couponId
*/
public String getCouponId() {
return this.couponId;
}

/**
* 优惠券ID
* @return couponId
*/
public void setCouponId(String couponId) {
this.couponId = couponId;
}


public abstract String giveCouponId();

/**
* 是否快速购买，0否1是，团购商品和秒杀商品都是1，默认0
* @return isFastBuy
*/
public String getIsFastBuy() {
return this.isFastBuy;
}

/**
* 是否快速购买，0否1是，团购商品和秒杀商品都是1，默认0
* @return isFastBuy
*/
public void setIsFastBuy(String isFastBuy) {
this.isFastBuy = isFastBuy;
}


public abstract String giveIsFastBuy();

/**
* 订单编号
* @return orderId
*/
public String getOrderId() {
return this.orderId;
}

/**
* 订单编号
* @return orderId
*/
public void setOrderId(String orderId) {
this.orderId = orderId;
}


public abstract String giveOrderId();

}
